//
//  MainTableViewCellOne.m
//  DishMenu
//
//  Created by 成都千锋 on 15/10/22.
//  Copyright (c) 2015年 Yes. All rights reserved.
//

#import "MainTableViewCellOne.h"

@implementation MainTableViewCellOne

- (void)awakeFromNib {
    // Initialization code
}
- (void)setData:(NSArray*)array
{
    for (NSInteger index = 1000; index < 1011; index ++) {
        UIButton *btn = (id)[self viewWithTag:index];
        [btn setTitle:array[index - 1000][@"name"] forState:UIControlStateNormal];
    }
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
